﻿<Window x:Class="NetworkMessenger.ReceivedMessageWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Message Received" Height="390" Width="659" ResizeMode="CanMinimize" Topmost="True" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded" Icon="/NetworkMessenger;component/NetworkMessenger.ico">
    <Window.Resources>
        <ResourceDictionary Source="StyleDictionary.xaml"/>
    </Window.Resources>
    <Grid>
        <Rectangle Name="backgroundRectangle" Style="{StaticResource BackgroundRectangle}"/>
        <Image HorizontalAlignment="Right" Margin="0,10,13,0" Stretch="Uniform" Width="113" Height="106" VerticalAlignment="Top" Source="/NetworkMessenger;component/NetworkMessenger.ico"/>
        
        <Label Height="28" HorizontalAlignment="Left" Margin="16,10,0,0" VerticalAlignment="Top" Width="29" Foreground="White">To:</Label>
        <TextBox Margin="65,10,0,0" Name="toTextBox" VerticalAlignment="Top" Background="Transparent" BorderBrush="Transparent" IsReadOnly="True" Height="21.96" HorizontalAlignment="Left" Width="159" IsTabStop="False" Foreground="White"/>
        
        <Label Height="28" HorizontalAlignment="Left" Margin="16,36,0,0" VerticalAlignment="Top" Width="41" Foreground="White">From:</Label>
        <TextBox Background="Transparent" BorderBrush="Transparent" Height="21.96" HorizontalAlignment="Left" IsReadOnly="True" Margin="65,38,0,0" Name="fromTextBox" VerticalAlignment="Top" Width="159" IsTabStop="False" Foreground="White"/>
        
        <Label Height="28" HorizontalAlignment="Left" Margin="16,88,0,0" VerticalAlignment="Top" Width="80" Foreground="White">Time Stamp:</Label>
        <TextBox Background="Transparent" BorderBrush="Transparent" Height="21.96" HorizontalAlignment="Left" IsReadOnly="True" Margin="95,90,0,0" Name="timestampTextBox" VerticalAlignment="Top" Width="159" IsTabStop="False" Foreground="White"/>
        
        <Label HorizontalAlignment="Left" Margin="16,127,0,0" Width="120" Height="27" VerticalAlignment="Top" Foreground="White">Message:</Label>
        <TextBox Margin="16,154,13,48" Name="messageTextBox" Background="Transparent" BorderBrush="Transparent" IsReadOnly="True" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" TextWrapping="WrapWithOverflow" IsTabStop="False" Foreground="White" />
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,13,9" Name="closeButton" VerticalAlignment="Bottom" Width="75" Click="closeButton_Click" IsDefault="True" TabIndex="1">Close</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,100,9" Name="replyButton" VerticalAlignment="Bottom" Width="75" Click="replyButton_Click" TabIndex="2">Reply</Button>
    </Grid>
</Window>
